package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsOrderRefundPicDAO;
import top.zywork.dos.GoodsOrderRefundPicDO;
import top.zywork.dto.GoodsOrderRefundPicDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsOrderRefundPicService;

import javax.annotation.PostConstruct;

/**
 * GoodsOrderRefundPicServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-04-01<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "goodsOrderRefundPicService")
public class GoodsOrderRefundPicServiceImpl extends AbstractBaseService implements GoodsOrderRefundPicService {

    private GoodsOrderRefundPicDAO goodsOrderRefundPicDAO;

    @Autowired
    public void setGoodsOrderRefundPicDAO(GoodsOrderRefundPicDAO goodsOrderRefundPicDAO) {
        super.setBaseDAO(goodsOrderRefundPicDAO);
        this.goodsOrderRefundPicDAO = goodsOrderRefundPicDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsOrderRefundPicDO.class, GoodsOrderRefundPicDTO.class);
    }
}